from __future__ import print_function

def initialize(context):
    g.a = 333
    g.b = 666
    context.x = 888

def handle_data(context, data):
    g.c = g.a + g.b + context.x + context.y
    a = np.array([1, 2, 3, 4, 5, 6])
    print("outer space: a is %s" % a)
    print("outer space: context is %s" % context)
    print(g.x)
    print(g.y)
